.login-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.login-container {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(102, 126, 234, 0.3) 25%,
      rgba(118, 75, 162, 0.5) 50%,
      rgba(102, 126, 234, 0.7) 75%,
      rgba(118, 75, 162, 0.9) 100%);
  z-index: 1;
}

.login-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(25px);
  border-radius: 24px;
  padding: 48px;
  width: 420px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.login-card .ant-card-body {
  padding: 0;
}

.login-input {
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  color: #2c3e50;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.login-input:hover {
  border-color: rgba(102, 126, 234, 0.6);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.login-input:focus,
.login-input.ant-input-focused {
  border-color: rgba(102, 126, 234, 0.8);
  background: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 0 4px rgba(102, 126, 234, 0.15),
    0 6px 16px rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}

.login-input::placeholder {
  color: #999;
}

.login-input .ant-input-prefix {
  color: #666;
  margin-right: 8px;
}

.login-input:focus .ant-input-prefix,
.login-input.ant-input-focused .ant-input-prefix {
  color: #667eea;
}

.login-card .ant-form-item {
  margin-bottom: 20px;
}

.login-card .ant-form-item:last-child {
  margin-bottom: 0;
}

.login-button {
  height: 52px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  background-size: 200% 200%;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 20px rgba(102, 126, 234, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.login-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 30px rgba(102, 126, 234, 0.4),
    0 6px 12px rgba(0, 0, 0, 0.15);
  background-position: 100% 0;
}

.login-button:hover::before {
  left: 100%;
}

.login-button:active {
  transform: translateY(-1px);
  box-shadow:
    0 6px 15px rgba(102, 126, 234, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-button:focus {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  box-shadow:
    0 0 0 4px rgba(102, 126, 234, 0.2),
    0 8px 20px rgba(102, 126, 234, 0.3);
}

.login-links {
  margin-bottom: 0;
}

.links-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.login-link {
  color: #5a6c7d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 12px;
  height: auto;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 8px;
  position: relative;
}

.login-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.login-link:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.08);
  border: none;
  box-shadow: none;
  transform: translateY(-1px);
}

.login-link:hover::after {
  width: 80%;
}

.login-link:focus {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  border: none;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.error-message {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(15px);
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 12px 16px;
}

.error-message .ant-alert-message {
  color: #6c757d;
  font-weight: 500;
}

.error-message .ant-alert-icon {
  color: #ff6b6b;
  font-size: 16px;
}


